package com.hurst

class Contractor {
    String name
    String vendorNumber
    String jobTitle
    String clientName
    byte[] signature

    Manager manager
    List workWeeks = []

    static hasMany = [workWeeks : WorkWeek]
    static belongsTo = [manager:Manager]

    static constraints = {
        manager nullable:true
    }
}
